[INFO] cloning repository https://github.com/AlcyZ/shindex-rust-tracer-challenge
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AlcyZ/shindex-rust-tracer-challenge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlcyZ%2Fshindex-rust-tracer-challenge", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlcyZ%2Fshindex-rust-tracer-challenge'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6c508c0d8722b9caa5915a199f56db95745559fe
[INFO] checking AlcyZ/shindex-rust-tracer-challenge against try#72f88fc4e9458f89516a0b8b0868f3718aec5b47 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlcyZ%2Fshindex-rust-tracer-challenge" "/workspace/builds/worker-8/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/AlcyZ/shindex-rust-tracer-challenge on toolchain 72f88fc4e9458f89516a0b8b0868f3718aec5b47
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/AlcyZ/shindex-rust-tracer-challenge
[INFO] finished tweaking git repo https://github.com/AlcyZ/shindex-rust-tracer-challenge
[INFO] tweaked toml for git repo https://github.com/AlcyZ/shindex-rust-tracer-challenge written to /workspace/builds/worker-8/source/Cargo.toml
[INFO] crate git repo https://github.com/AlcyZ/shindex-rust-tracer-challenge already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 831907f0b4c9780bdaac8f2616595cdaa60ed183cac588fdbc653650a8f1bdb9
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "831907f0b4c9780bdaac8f2616595cdaa60ed183cac588fdbc653650a8f1bdb9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "831907f0b4c9780bdaac8f2616595cdaa60ed183cac588fdbc653650a8f1bdb9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "831907f0b4c9780bdaac8f2616595cdaa60ed183cac588fdbc653650a8f1bdb9", kill_on_drop: false }`
[INFO] [stdout] 831907f0b4c9780bdaac8f2616595cdaa60ed183cac588fdbc653650a8f1bdb9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 2184c90ee4d7c7c65e01b2ae54c6698e909dc95021714e61a77d8037d55dbc71
[INFO] running `Command { std: "docker" "start" "-a" "2184c90ee4d7c7c65e01b2ae54c6698e909dc95021714e61a77d8037d55dbc71", kill_on_drop: false }`
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]    Compiling bitflags v1.1.0
[INFO] [stderr]     Checking adler32 v1.0.4
[INFO] [stderr]     Checking crc32fast v1.2.0
[INFO] [stderr]     Checking inflate v0.4.5
[INFO] [stderr]     Checking deflate v0.7.20
[INFO] [stderr]     Checking png v0.15.0
[INFO] [stderr]     Checking shindex-rust-tracer-challenge v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::playground::circle::run as circle_run`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::playground::circle::run as circle_run;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::playground::clock::run as clock_run`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::playground::clock::run as clock_run;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::playground::projectile::run as projectile_run`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::playground::projectile::run as projectile_run;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::playground::sphere::run as sphere_run`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::playground::sphere::run as sphere_run;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::intrinsics::transmute`
[INFO] [stdout]  --> src/transformation.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::intrinsics::transmute;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Intersections`
[INFO] [stdout]  --> src/sphere.rs:4:41
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::intersection::{Intersection, Intersections};
[INFO] [stdout]   |                                         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::Ordering`
[INFO] [stdout]  --> src/intersection.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cmp::Ordering;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]   --> src/world.rs:38:58
[INFO] [stdout]    |
[INFO] [stdout] 38 |             if let Some(intersection) = object.intersect((&ray)) {
[INFO] [stdout]    |                                                          ^^^^^^ help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc::SendError`
[INFO] [stdout]  --> src/camera.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::sync::mpsc::SendError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::material::Material`
[INFO] [stdout]  --> src/playground/spheres.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::material::Material;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `save_ppm`
[INFO] [stdout]   --> src/playground/spheres.rs:10:44
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::playground::utility::{save_png, save_ppm};
[INFO] [stdout]    |                                            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::playground::circle::run as circle_run`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::playground::circle::run as circle_run;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::playground::clock::run as clock_run`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::playground::clock::run as clock_run;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::playground::projectile::run as projectile_run`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::playground::projectile::run as projectile_run;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::playground::sphere::run as sphere_run`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::playground::sphere::run as sphere_run;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::intrinsics::transmute`
[INFO] [stdout]  --> src/transformation.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::intrinsics::transmute;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Intersections`
[INFO] [stdout]  --> src/sphere.rs:4:41
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::intersection::{Intersection, Intersections};
[INFO] [stdout]   |                                         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::Ordering`
[INFO] [stdout]  --> src/intersection.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cmp::Ordering;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]   --> src/world.rs:38:58
[INFO] [stdout]    |
[INFO] [stdout] 38 |             if let Some(intersection) = object.intersect((&ray)) {
[INFO] [stdout]    |                                                          ^^^^^^ help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]    --> src/world.rs:114:9
[INFO] [stdout]     |
[INFO] [stdout] 114 |     use std::borrow::Borrow;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::material::Material`
[INFO] [stdout]    --> src/world.rs:119:9
[INFO] [stdout]     |
[INFO] [stdout] 119 |     use crate::material::Material;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `scaling`
[INFO] [stdout]    --> src/world.rs:122:33
[INFO] [stdout]     |
[INFO] [stdout] 122 |     use crate::transformation::{scaling, translation};
[INFO] [stdout]     |                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc::SendError`
[INFO] [stdout]  --> src/camera.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::sync::mpsc::SendError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]    --> src/camera.rs:117:9
[INFO] [stdout]     |
[INFO] [stdout] 117 |     use std::sync::Arc;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::material::Material`
[INFO] [stdout]  --> src/playground/spheres.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::material::Material;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `save_ppm`
[INFO] [stdout]   --> src/playground/spheres.rs:10:44
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::playground::utility::{save_png, save_ppm};
[INFO] [stdout]    |                                            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/intersection.rs:125:17
[INFO] [stdout]     |
[INFO] [stdout] 125 |             Err(e) => None
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shrink_y`
[INFO] [stdout]   --> src/playground/sphere.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let shrink_y = scaling(1.0, 0.5, 1.0);
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shrink_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shrink_x`
[INFO] [stdout]   --> src/playground/sphere.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let shrink_x = scaling(0.5, 1.0, 1.0);
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shrink_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shrink_x_and_rotate`
[INFO] [stdout]   --> src/playground/sphere.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let shrink_x_and_rotate = mul(rotation_z(PI / 2.0), scaling(0.5, 1.0, 1.0));
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shrink_x_and_rotate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shrink_x_and_skew`
[INFO] [stdout]   --> src/playground/sphere.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let shrink_x_and_skew = mul(shearing(1.0, 0.0, 0.0, 0.0, 0.0, 0.0), scaling(0.5, 1.0, 1.0));
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shrink_x_and_skew`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `xyz`
[INFO] [stdout]   --> src/tuple.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 |     pub fn xyz(&self) -> (f64, f64, f64) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `col_to_string`
[INFO] [stdout]   --> src/color.rs:66:8
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub fn col_to_string(color: &f64) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `ppm_push`
[INFO] [stdout]  --> src/canvas.rs:9:4
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn ppm_push(data: &mut Vec<String>, line: &mut String, col_str: String) {
[INFO] [stdout]   |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `to_ppm`
[INFO] [stdout]   --> src/canvas.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 38 |     pub fn to_ppm(&self) -> String {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `ppm_header`
[INFO] [stdout]   --> src/canvas.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 |     fn ppm_header(&self) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `ppm_body`
[INFO] [stdout]   --> src/canvas.rs:50:8
[INFO] [stdout]    |
[INFO] [stdout] 50 |     fn ppm_body(&self) -> String {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `matrix_4x4_eq`
[INFO] [stdout]   --> src/matrix.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn matrix_4x4_eq(a: Matrix4x4, b: Matrix4x4) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `is_invertible`
[INFO] [stdout]    --> src/matrix.rs:168:4
[INFO] [stdout]     |
[INFO] [stdout] 168 | fn is_invertible(m: Matrix4x4) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `rotation_z`
[INFO] [stdout]   --> src/transformation.rs:48:8
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub fn rotation_z(radiant: f64) -> Matrix4x4 {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `shearing`
[INFO] [stdout]   --> src/transformation.rs:59:8
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub fn shearing(xy: f64, xz: f64, yx: f64, yz: f64, zx: f64, zy: f64) -> Matrix4x4 {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `from_cords`
[INFO] [stdout]   --> src/ray.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 |     pub fn from_cords(origin: (f64, f64, f64), direction: (f64, f64, f64)) -> Ray {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `color`
[INFO] [stdout]   --> src/material.rs:77:12
[INFO] [stdout]    |
[INFO] [stdout] 77 |     pub fn color(&self) -> Color {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `change_ambient`
[INFO] [stdout]   --> src/material.rs:85:12
[INFO] [stdout]    |
[INFO] [stdout] 85 |     pub fn change_ambient(&mut self, ambient: f64) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `change_shininess`
[INFO] [stdout]   --> src/material.rs:97:12
[INFO] [stdout]    |
[INFO] [stdout] 97 |     pub fn change_shininess(&mut self, shininess: f64) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `from_mat`
[INFO] [stdout]   --> src/sphere.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub fn from_mat(material: Material) -> Sphere {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `change_ambient`
[INFO] [stdout]   --> src/sphere.rs:89:12
[INFO] [stdout]    |
[INFO] [stdout] 89 |     pub fn change_ambient(&mut self, ambient: f64) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `change_shininess`
[INFO] [stdout]    --> src/sphere.rs:101:12
[INFO] [stdout]     |
[INFO] [stdout] 101 |     pub fn change_shininess(&mut self, shininess: f64) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `apply_mat`
[INFO] [stdout]    --> src/sphere.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout] 105 |     pub fn apply_mat(&mut self, mat: Material) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `object`
[INFO] [stdout]   --> src/intersection.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn object(&self) -> &'a Sphere {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/intersection.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub fn new(first: Intersection<'a>) -> Intersections<'a> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `add`
[INFO] [stdout]   --> src/intersection.rs:49:12
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub fn add(&mut self, i: Intersection<'a>) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get`
[INFO] [stdout]   --> src/intersection.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub fn get(&self, i: usize) -> Option<&Intersection> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `count`
[INFO] [stdout]   --> src/intersection.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn count(&self) -> usize {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `sort`
[INFO] [stdout]   --> src/intersection.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub fn sort(&self) {}
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `t`
[INFO] [stdout]   --> src/intersection.rs:87:5
[INFO] [stdout]    |
[INFO] [stdout] 87 |     t: f64,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `test_default_world`
[INFO] [stdout]   --> src/world.rs:99:8
[INFO] [stdout]    |
[INFO] [stdout] 99 | pub fn test_default_world() -> World {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `render`
[INFO] [stdout]   --> src/camera.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 66 |     pub fn render(&self, world: &World) -> Canvas {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Projectile`
[INFO] [stdout]  --> src/playground/projectile.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | struct Projectile {
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Environment`
[INFO] [stdout]   --> src/playground/projectile.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct Environment {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `tick`
[INFO] [stdout]   --> src/playground/projectile.rs:19:4
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn tick(env: &Environment, pro: Projectile, canvas: &mut Canvas) -> Projectile {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `run`
[INFO] [stdout]   --> src/playground/projectile.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn run() {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `run`
[INFO] [stdout]   --> src/playground/clock.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn run() {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `run`
[INFO] [stdout]   --> src/playground/circle.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn run() {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `process`
[INFO] [stdout]   --> src/playground/circle.rs:38:4
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn process(canvas_size: usize, transformation: Option<Matrix4x4>, name: &str) {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `run`
[INFO] [stdout]   --> src/playground/sphere.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn run() {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `process`
[INFO] [stdout]   --> src/playground/sphere.rs:41:4
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn process(canvas_size: usize, transformation: Option<Matrix4x4>, name: &str) {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `save_ppm`
[INFO] [stdout]  --> src/playground/utility.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn save_ppm(canvas: Canvas, name: &str) {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 53 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/intersection.rs:125:17
[INFO] [stdout]     |
[INFO] [stdout] 125 |             Err(e) => None
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shrink_y`
[INFO] [stdout]   --> src/playground/sphere.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let shrink_y = scaling(1.0, 0.5, 1.0);
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shrink_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shrink_x`
[INFO] [stdout]   --> src/playground/sphere.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let shrink_x = scaling(0.5, 1.0, 1.0);
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shrink_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shrink_x_and_rotate`
[INFO] [stdout]   --> src/playground/sphere.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let shrink_x_and_rotate = mul(rotation_z(PI / 2.0), scaling(0.5, 1.0, 1.0));
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shrink_x_and_rotate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shrink_x_and_skew`
[INFO] [stdout]   --> src/playground/sphere.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let shrink_x_and_skew = mul(shearing(1.0, 0.0, 0.0, 0.0, 0.0, 0.0), scaling(0.5, 1.0, 1.0));
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shrink_x_and_skew`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `xyz`
[INFO] [stdout]   --> src/tuple.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 |     pub fn xyz(&self) -> (f64, f64, f64) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `change_shininess`
[INFO] [stdout]   --> src/material.rs:97:12
[INFO] [stdout]    |
[INFO] [stdout] 97 |     pub fn change_shininess(&mut self, shininess: f64) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `from_mat`
[INFO] [stdout]   --> src/sphere.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub fn from_mat(material: Material) -> Sphere {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `change_shininess`
[INFO] [stdout]    --> src/sphere.rs:101:12
[INFO] [stdout]     |
[INFO] [stdout] 101 |     pub fn change_shininess(&mut self, shininess: f64) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `sort`
[INFO] [stdout]   --> src/intersection.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub fn sort(&self) {}
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Projectile`
[INFO] [stdout]  --> src/playground/projectile.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | struct Projectile {
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Environment`
[INFO] [stdout]   --> src/playground/projectile.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct Environment {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `tick`
[INFO] [stdout]   --> src/playground/projectile.rs:19:4
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn tick(env: &Environment, pro: Projectile, canvas: &mut Canvas) -> Projectile {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `run`
[INFO] [stdout]   --> src/playground/projectile.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn run() {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `run`
[INFO] [stdout]   --> src/playground/clock.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn run() {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `run`
[INFO] [stdout]   --> src/playground/circle.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn run() {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `process`
[INFO] [stdout]   --> src/playground/circle.rs:38:4
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn process(canvas_size: usize, transformation: Option<Matrix4x4>, name: &str) {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `run`
[INFO] [stdout]   --> src/playground/sphere.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn run() {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `process`
[INFO] [stdout]   --> src/playground/sphere.rs:41:4
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn process(canvas_size: usize, transformation: Option<Matrix4x4>, name: &str) {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `save_ppm`
[INFO] [stdout]  --> src/playground/utility.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn save_ppm(canvas: Canvas, name: &str) {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 35 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 5.78s
[INFO] running `Command { std: "docker" "inspect" "2184c90ee4d7c7c65e01b2ae54c6698e909dc95021714e61a77d8037d55dbc71", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2184c90ee4d7c7c65e01b2ae54c6698e909dc95021714e61a77d8037d55dbc71", kill_on_drop: false }`
[INFO] [stdout] 2184c90ee4d7c7c65e01b2ae54c6698e909dc95021714e61a77d8037d55dbc71
